package com.szrt.javaweb.ioc.demo03.service.impl;


import com.szrt.javaweb.ioc.demo03.service.StudentService;


public class StudentServiceImpl implements StudentService  {
	
	
	public StudentServiceImpl(){
		System.out.println("调用StudentServiceImpl的构造方法...");
	}
	
	public int  add(String studentName,int studentAge){
		System.out.println("增加成功..."+studentName +":"+studentAge);
		return 1;
	}

}
